﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Drawing;

namespace AramaruForest
{
    class Read
    {
        GameItems _gameItems;
        public GameState _gameState;
        public SizeF WorldLimits;


        public Read(GameState gamestate)
        {
            _gameState = gamestate;
            initialize();
        }

        public void Update(double gameTime, double elapsedTime)
        {
            _gameItems.Update(gameTime, elapsedTime);
        }

        public void Draw(Graphics graphics)
        {
            _gameItems.Draw(graphics);


        }

        private void initialize()
        {
            _gameItems = new GameItems(_gameState);
            WorldLimits = _gameState.GameSize;

        }

        public void KeyDown(Keys keys)
        {
            switch (keys)
            {
                case Keys.Up:

                    break;

                case Keys.Down:
                    break;

                case Keys.Right:

                    break;

                case Keys.Left:

                    break;

                case Keys.Space:

                    break;

                case Keys.N:


                    break;

                default:
                    break;
            }
        }
    }
}
